package org.lex.jdbc.url.parser;

import org.lex.jdbc.url.IJdbcUrlContext;

public abstract class Fragment {
	private String image = null;

	public Fragment(String image) {
		this.image = image;
	}

	public String getImage() {
		return image;
	}

	protected void setImage(String image) {
		this.image = image;
	}

	public abstract String evaluate(IJdbcUrlContext context);

	public String toString() {
		return '[' + getClass().getSimpleName() + " image=" + image + ']';
	}
}
